package org.example.user.service;

import org.example.commonapi.domain.CollectPractice;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.commonapi.dto.PageInfo;
import org.example.commonapi.dto.PracticeInfoDto;

import java.util.List;

/**
* @author DELL
* @description 针对表【collect_practice(收藏表)】的数据库操作Service
* @createDate 2024-06-02 21:26:27
*/
public interface CollectPracticeService extends IService<CollectPractice> {

    List<PracticeInfoDto> collectPracticeIdList(Integer difficulty, Integer type, String name, String subject,Long id);

    void deleteCollectPractice(Long practiceId, Long studentId);

    PageInfo collectPracticeList(Integer pageNum,Integer pageSize,Integer difficulty, Integer type, String name, String subject, Long id);
}
